17.7 Fair Scheduling Policy Infrastructure Setup
The routine init_sched_fair_class() prepares the underlying framework-level data structures and low-level mechanics required by fair task scheduling, particularly optimizing the infrastructures that govern cross-core load balancing. It registers the handler callback run_rebalance_domains() onto the kernel's software interrupt tracking system under the SCHED_SOFTIRQ vector, which triggers cross-CPU load balancing routines whenever a SCHED_SOFTIRQ softirq event is raised.